#pragma once

#include <Ogre.h>
#include "Character.h"
#include "PlayerCharacter.h"

#include <list>

#define charTypePlayer "Player"
#define charTypePartner "Parter"

using namespace Ogre;

class CharacterController
{
public:
	CharacterController(SceneManager* sceneManager);
	~CharacterController(void);

	void createCharacter(Ogre::String characterType);
	Real getCharacterNum();

	void injectKeyDownForChar(const OIS::KeyEvent& evt);
	void injectKeyUpForChar(const OIS::KeyEvent& evt);

	void updateCharacters(Real deltaTime);

	std::list<Character*> mCharacters;
	Ogre::Real mCharacterNums;

	SceneManager* mSceneMgr;
};

